<?php
/**
 * @property PaymentApplication $data
 */
?>
<?php
$invoiceItems = $data->invoiceItems(array("condition" => "property_case_id IS NOT NULL"));
?>
<?php if (!empty($invoiceItems)): ?>
	<?php foreach ($invoiceItems as $invoiceItem): ?>
		<div>
			<?php echo CHtml::link("#" . $invoiceItem->propertyCase->case_number, array("transaction/default", "id" => $invoiceItem->propertyCase->id), array("class" => "blue link")); ?>
		</div>
	<?php endforeach; ?>
<?php endif; ?>
